package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.GradeBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IGradeMapper extends BaseMapper<GradeBean> {
    /**
     * 按用户ID查询权限集合
     * @param userId 用户ID
     * @return 权限集合
     */
    public List<GradeBean> findByUser(Integer userId);
}
